package com.freewater.springboot.demo.contexthierarchy.demo2;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

    @Bean
    public BusinessComponent businessComponent() {
        return new BusinessComponent();
    }
}
